package com.xiaoyu.client.model.forum;

import android.text.TextUtils;
import android.util.Log;

import java.util.List;

/**
 * Created by jk on 2018/10/22.
 */
public class ForumParam {
    private String forumid;//帖子id
    private String userid;//发帖人用户id
    private String nickname;//发帖人昵称
    private String userphoto;//发帖人头像
    private String fourmtitle;//帖子的文字
    private String fourmvideo;//帖子视频路径
    private String fourmhigh;
    private String videoimg;//封面图片
    private String big;//1：只有文字，2：一张图片，3：三张图片，4：视频
    private String fourmtime;//发布时间
    private String fourmsum;//浏览量
    private String fourmreplaysum;//帖子的回复数量
    private String fourmress;//帖子发布地址
    private String fourmgood;//是否对当前帖子点赞‘true’是‘false’否
    private String collection;//是否对收藏当前帖子‘true’是‘false’否
    private String focuson;//是否关注当前发帖人：‘true’是，‘false’否
    private String status;//	是否是自己发表的帖子‘true’是‘false’否
    private List<String> fourmimg;//帖子的图片
    private List<String> fourmgreeuser;

    public String getForumid() {
        return forumid;
    }

    public void setForumid(String forumid) {
        this.forumid = forumid;
    }

    public String getFourmtitle() {
        return fourmtitle;
    }

    public void setFourmtitle(String fourmtitle) {
        this.fourmtitle = fourmtitle;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getFourmvideo() {
        return fourmvideo;
    }

    public void setFourmvideo(String fourmvideo) {
        this.fourmvideo = fourmvideo;
    }

    public String getFourmhigh() {
        return fourmhigh;
    }

    public void setFourmhigh(String fourmhigh) {
        this.fourmhigh = fourmhigh;
    }

    public String getFourmtime() {
        return fourmtime;
    }

    public void setFourmtime(String fourmtime) {
        this.fourmtime = fourmtime;
    }

    public String getFourmsum() {
        return fourmsum;
    }

    public void setFourmsum(String fourmsum) {
        this.fourmsum = fourmsum;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getFourmress() {
        return fourmress;
    }

    public void setFourmress(String fourmress) {
        this.fourmress = fourmress;
    }

    public boolean isLike() {
        return fourmgood.equals("true") ? true : false;
    }

    public void setFourmgood(String fourmgood) {
        this.fourmgood = fourmgood;
    }

    public boolean isCollect() {
        return collection.equals("true") ? true : false;
    }

    public void setCollection(String collection) {
        this.collection = collection;
    }

    public List<String> getFourmimg() {
        return fourmimg;
    }

    public void setFourmimg(List<String> fourmimg) {
        this.fourmimg = fourmimg;
    }

    public List<String> getFourmgreeuser() {
        return fourmgreeuser;
    }

    public void setFourmgreeuser(List<String> fourmgreeuser) {
        this.fourmgreeuser = fourmgreeuser;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getUserphoto() {
        return userphoto;
    }

    public void setUserphoto(String userphoto) {
        this.userphoto = userphoto;
    }

    public void setBig(String big) {
        this.big = big;
    }

    public int getBig() {
        return Integer.parseInt(big);
    }

    public boolean isAttention() {
        return focuson.equals("true") ? true : false;
    }

    public void setFocuson(String focuson) {
        this.focuson = focuson;
    }

    public String getFourmReplayNum() {
        return fourmreplaysum;
    }

    public void setFourmreplaysum(String fourmreplaysum) {
        this.fourmreplaysum = fourmreplaysum;
    }

    public String getVideoimg() {
        return videoimg;
    }

    public void setVideoimg(String videoimg) {
        this.videoimg = videoimg;
    }
}
